package io.github.bloquesoft.entity.value;

import lombok.AllArgsConstructor;

@AllArgsConstructor
public abstract class AbstractValue implements Value {

    private final Object value;

    @Override
    public Object getValue() {
        return this.value;
    }

    @Override
    public Boolean isNullValue() {
        return this.value == null;
    }
}
